{extend name="Public:base" /}
      {block name="seo"}
         <title>{$Think.CONFIG.WEB_SITE_TITLE} - Powered by EasySNS!</title>
  
  
  <meta name="keywords" content="{$Think.CONFIG.WEB_SITE_KEYWORD}">
  <meta name="description" content="{$Think.CONFIG.WEB_SITE_DESCRIPTION}">
{/block}
{block name="body"}
<div class="aw-container-wrap">

	<div class="container">
		<div class="row">
			<div class="aw-content-wrap clearfix">
				<div class="col-sm-12 col-md-9 aw-main-content">

					<!-- tab切换 -->
					<ul class="nav nav-tabs aw-nav-tabs active hidden-xs">
					
			<li {if condition="$order eq 2"}class="active"{/if}><a href="{:es_url('topic/cindex',array('order'=>2,'id'=>$id))}" id="sort_control_hot">热门</a></li>
						<li {if condition="$order eq 3"}class="active"{/if}><a href="{:es_url('topic/cindex',array('order'=>3,'id'=>$id))}">推荐</a></li>
						<li {if condition="$order eq 1"}class="active"{/if}><a href="{:es_url('topic/cindex',array('order'=>1,'id'=>$id))}">最新</a></li>

						<h2 class="hidden-xs"><i class="iconfont icon-liebiao"></i>{$cateinfo['name']}  {:hook('banzhuname', array('info'=>$cateinfo))}</h2>
					</ul>
					<!-- end tab切换 -->

					
					<div class="aw-mod aw-explore-list" style="padding:0;">
						<div class="mod-body">
							<div class="aw-common-list">
								<ul class="fly-list">          
        {volist name="topiclist" id="vo"}

   <li>
   <a class="fly-avatar " data-id="{$vo['uid']}"  href="{:es_url('user/home',array('id'=>$vo['uid']))}" rel="nofollow">
	<img src="{$vo.userhead|getheadurl}" alt="{$vo['nickname']}">
	
        {if condition="$vo['rzstatus']"}
	<i class="iconfont {$vo['rzicon']}"></i>
	{/if}
            </a>
            
          
            <h2>
             
              <a class="listlink" href="{:es_url('Topic/gview',array('id'=>$vo['id']))}">{$vo.title}</a>
            </h2>

            <div class="fly-list-info">
          
              
              
             <span class="text-color-999"><a href="{:es_url('user/home',array('id'=>$vo['replyuid']))}" class="aw-user-name" data-id="{$vo.replyuid}">{$vo.replyuser}</a> {$vo.actionname}  • {$vo.focuscount} 人关注  • {$vo.reply} 个回复 • {$vo.view} 次浏览 • 	{$vo.praise}次点赞	  			</span>
 
          
              <span class="fly-list-nums es-font12 hidden-xs"> 
           
               {$vo.replytime}
              </span>
            </div>
            <div class="fly-list-badge">
   {if condition="$vo.settop eq 1"}<span class="layui-badge layui-bg-red ">置顶</span>{/if}
		{if condition="$vo.choice eq 1"}<span class="layui-badge layui-bg-green">推荐</span>{/if}		
            </div>
          </li>


{/volist}
       
         
        </ul>


							</div>
						</div>
						<div class="mod-footer">
							<div class="page-control">
							<ul class="pagination pull-right">
							{$page}
                             </ul></div>						</div>
					</div>
				</div>

				<!-- 侧边栏 -->
				<div class="col-sm-12 col-md-3 aw-side-bar hidden-xs hidden-sm">
										<div class="aw-mod aw-text-align-justify">
	<div class="mod-head">
		<a href="{:es_url('topic/htlist')}" class="pull-right">更多 &gt;</a>
		<h3>热门话题</h3>
	</div>
	<div class="mod-body">
						{volist name="hotgrouplist" id="vo"}
							<dl>
								<dt class="pull-left aw-border-radius-5">
									<a href="{:es_url('topic/index',array('name'=>$vo.name))}">
									<img alt="" src="{$vo.cover_id|get_picture_url}"></a>
								</dt>
								<dd class="pull-left">
									<p class="clearfix">
										<span class="topic-tag"> 
										<a href="{:es_url('topic/index',array('name'=>$vo.name))}" class="text">{$vo.name}</a>
										</span>
									</p>
									<p>
										<b>{$vo.topiccount}</b> 个帖子, <b>{$vo.membercount}</b> 人关注
									</p>
								</dd>
							</dl>
							{/volist}
					</div>
</div>
					<div class="aw-mod aw-text-align-justify">
	<div class="mod-head">
		
		<h3>热门用户</h3>
	</div>
	<div class="mod-body">
					
		{volist name="hotuserlist" id="vo"}		
		<dl>
			<dt class="pull-left aw-border-radius-5">
				<a href="{:es_url('user/home',array('id'=>$vo['id']))}"><img src="{$vo.userhead|getheadurl}" alt="{$vo['nickname']}"></a>
			</dt>
			<dd class="pull-left">
				<a href="{:es_url('user/home',array('id'=>$vo['id']))}" data-id="{$vo.id}" class="aw-user-name vusername">{$vo.nickname}</a>
				{if condition="$vo.type"}
				
				&nbsp;&nbsp;<i class="fz16 iconfont {if condition='$vo.type eq 1'}icon-myvip{else/}icon-myvip i-ve{/if}" title="{if condition='$vo.type eq 1'}个人认证{else/}企业认证{/if}"></i>					
				
				
				
				{/if}
				
				<p><b>{$vo.topiccount}</b> 个帖子, <b>{$vo.zancount}</b> 次赞同</p>
			</dd>
		</dl>
			{/volist}
					</div>
</div>		
							
	
		</div>
				<!-- end 侧边栏 -->
			</div>
		</div>
	</div>
</div>
{/block}		
